package cn.lili.modules.order.order.mapper;

import cn.lili.modules.order.order.entity.dos.OrderDelivery;
import cn.lili.modules.order.order.entity.dos.OrderEntruck;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

public interface OrderEntruckMapper extends BaseMapper<OrderEntruck> {

    /**
     * 获取装车信息
     *
     * @param orderSn 订单编号
     */
    @Select("select lod.order_sn ,lod.pics ,lod.remark ,lod.create_time from li_order_entruck lod where lod.order_sn = #{orderSn}")
    OrderEntruck getEntruckByOrderSn(String orderSn);
}
